/*
 * Lenovo Group
 * Copyright (c) 2015-2016 All Rights Reserved.
 * 
 * Project Name:assign-tracer
 * Create Time: 2016年2月19日 下午9:20:02
 */
package com.lenovo.lmrp.server.assigntracer.domain.workflow;

import java.util.Map;

import com.lenovo.lmrp.api.model.entity.ProcessPO;
import com.lenovo.lmrp.api.model.entity.TicketProcessPO;
import com.lenovo.lmrp.api.model.view.ChangedTicketVO;

/**
 * 
 * @author wujin
 * @version v1.0
 */
public interface IProcessService {
    
    public ProcessPO deploayProcess(String itsmCode, String bpmnPath);
    
    public String createProcessInstance(String processID);
    
    public void fireProcessInstance(TicketProcessPO ticketProcessPO, ChangedTicketVO vo);
    
    public void startProcessInstance(String instanceID, Map<String, Object> params);
    
    public void stopProcessInstance(String instanceID);
}
